.invitation-history-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 2rem;
  background-color: #f5f5f5;
}

.invitation-history-box {
  width: 100%;
  max-width: 800px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.invitation-history-box h2 {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
}

.invitation-content {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 25px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.content-title {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
}

.invitation-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-top: 15px;
}

.invitation-records {
  margin-top: 20px;
}

.invitation-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.invitation-card {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.invitation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.user-avatar {
  flex-shrink: 0;
  margin: 0 auto;
}

.user-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd600;
  display: block;
  margin: 0 auto;
}

.user-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.info-row {
  margin-bottom: 10px;
  text-align: center;
}

.info-row label {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 4px;
  text-align: center;
}

.info-row p {
  margin: 0;
  color: #333;
  font-size: 1rem;
  text-align: center;
}

.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.page-btn {
  background-color: #ffd600;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  background-color: #ffe066;
}

.page-btn:disabled {
  opacity: 0.7;
  background-color: #f0f0f0;
  cursor: not-allowed;
}

.page-info {
  font-size: 0.95rem;
  color: #666;
}

.no-data-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.no-data-message {
  color: #666;
  font-style: italic;
  text-align: center;
}

.content-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  color: #666;
  font-size: 1.1rem;
}

.error-message {
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .invitation-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .user-avatar {
    margin-bottom: 15px;
  }
  
  .invitation-content {
    padding: 20px 15px;
  }
  
  .content-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.button-group {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.button-group button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  background-color: #ffd600;
  color: #222;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.button-group button:hover {
  background-color: #ffe066;
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 20px 0;
}

.pagination-container .ant-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
} 